func golang.org/x/mod/modfile.addReplace

3 uses

	golang.org/x/mod/modfile (current package)
		rule.go#L1572: 	return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers)
		rule.go#L1575: func addReplace(syntax *FileSyntax, replace *[]*Replace, oldPath, oldVers, newPath, newVers string) error {
		work.go#L297: 	return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers)